package com.revzone.demo001.PermissionModule.mapper;

//import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.revzone.demo001.entity.PermissionEntity.Role;
import com.revzone.demo001.entity.PermissionEntity.UserRoleDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lsa
 * @since 2023-03-27
 */
//@DS("revzone_gsmr")//访问数据库源
@Repository
public interface RoleMapper extends BaseMapper<Role> {

//    IPage<Role> getReFindByPage(Page<Role> page, @Param("dto") UserRoleDTO dto);

    List<Role> getReFindBy(@Param("dto") UserRoleDTO dto);

}
